package com.mybatis.mp.scenery.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 订单扩展信息
 * </p>
 *
 * @author baiye
 * @since 2020-02-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TSceneryOrderExt对象", description="订单扩展信息")
public class TSceneryOrderExt implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "订单号")
    private String orderSn;

    @ApiModelProperty(value = "城市id")
    private Integer cityId;

    @ApiModelProperty(value = "景点id")
    private Integer sceneryId;

    @ApiModelProperty(value = "景点名称")
    private String sceneryName;

    @ApiModelProperty(value = "地区id")
    private Integer resourceId;

    @ApiModelProperty(value = "资源名称")
    private String resourceName;

    @ApiModelProperty(value = "预定日期")
    private String bookingDate;

    @ApiModelProperty(value = "市场价 单位分")
    private Integer marketPrice;

    @ApiModelProperty(value = "售价 单位分")
    private Integer salePrice;

    @ApiModelProperty(value = "分销价 单位分")
    private Integer price;

    @ApiModelProperty(value = "携程价 单位分")
    private Integer ctripPrice;

    @ApiModelProperty(value = "票务类型描述")
    private String ticketTypeDesc;

    @ApiModelProperty(value = "兑换方式 ，有效证件。")
    private String exchangeModeDesc;

    @ApiModelProperty(value = "类型描述")
    private String categoryDesc;

    @ApiModelProperty(value = "适用人群描述")
    private String peopleGroupDesc;

    @ApiModelProperty(value = "是否限购")
    private Boolean isBookingLimit;

    @ApiModelProperty(value = "退订类型")
    private Integer refundNewType;

    @ApiModelProperty(value = "退订类型描述")
    private String refundNewTypeDesc;

    @ApiModelProperty(value = "是否特惠票")
    private Integer isPreferential;

    @ApiModelProperty(value = "是否单独售卖")
    private Integer isSaleAlone;

    @ApiModelProperty(value = "门票附加信息")
    private String resourceInfo;

    @ApiModelProperty(value = "数量")
    private Integer num;

    private LocalDateTime createdAt;

    private LocalDateTime updatedAt;

    private LocalDateTime deletedAt;


}
